<?php
	include "core/mysql.php";
    session_start();
    $arr = $_SESSION['name'];
	//判断用户是否点过赞
$sql="SELECT comment_id FROM news_zan WHERE user_name='$arr'";
 $res = fetchAll($sql);
 
?>